package com.lei.dao;/**
 * @Auther: zhaoss
 * @Date: 2022/5/9 - 05 - 09 - 9:38
 * @Description: com.lei.dao
 * @version: 1.0
 */

import com.github.pagehelper.Page;
import com.lei.pojo.Setmeal;

import java.util.List;
import java.util.Map;

/**
 *@ClassName SetmealDao
 *@Description TODO
 *@Author Admin
 *@Date 2022/5/9 9:38
 *@Version 1.0
 */
public interface SetmealDao {
    public void add(Setmeal setmeal);

    public void setSetmealAndCheckGroup(Map<String, Integer> map);

    public  Page<Setmeal> selectByCondition(String queryString);

    Setmeal findById(Integer id);

    List<Integer> findCheckGroupIdsBySetmealId(Integer id);

    void deleteAssociation(Integer id);

    void edit(Setmeal setmeal);

    int findSetmealAndCheckGroupCountBySetMealId(Integer id);

    void deleteById(Integer id);
}
